<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkEntry</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
<link rel="home" href="index.html" title="GTK+ Reference Manual">
<link rel="up" href="NumericEntry.html" title="Numeric/Text Data Entry">
<link rel="prev" href="NumericEntry.html" title="Numeric/Text Data Entry">
<link rel="next" href="GtkEntryCompletion.html" title="GtkEntryCompletion">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="gtk.html" title="Part I. GTK+ Overview">
<link rel="part" href="gtkbase.html" title="Part II. GTK+ Core Reference">
<link rel="part" href="gtkobjects.html" title="Part III. GTK+ Widgets and Objects">
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
<link rel="chapter" href="ch02.html" title="Widget Gallery">
<link rel="chapter" href="WindowWidgets.html" title="Windows">
<link rel="chapter" href="DisplayWidgets.html" title="Display Widgets">
<link rel="chapter" href="ButtonWidgets.html" title="Buttons and Toggles">
<link rel="chapter" href="NumericEntry.html" title="Numeric/Text Data Entry">
<link rel="chapter" href="TextWidgetObjects.html" title="Multiline Text Editor">
<link rel="chapter" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
<link rel="chapter" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="chapter" href="Actions.html" title="Action-based menus and toolbars">
<link rel="chapter" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
<link rel="chapter" href="LayoutContainers.html" title="Layout Containers">
<link rel="chapter" href="Ornaments.html" title="Ornaments">
<link rel="chapter" href="ScrollingWidgets.html" title="Scrolling">
<link rel="chapter" href="Printing.html" title="Printing">
<link rel="chapter" href="MiscObjects.html" title="Miscellaneous">
<link rel="chapter" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="chapter" href="PlugSocket.html" title="Cross-process Embedding">
<link rel="chapter" href="SpecialObjects.html" title="Special-purpose features">
<link rel="chapter" href="RecentDocuments.html" title="Recently Used Documents">
<link rel="chapter" href="Builder.html" title="Interface builder">
<link rel="chapter" href="DeprecatedObjects.html" title="Deprecated">
<link rel="part" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
<link rel="chapter" href="gtk-migrating-checklist.html" title="Migration Checklist">
<link rel="chapter" href="gtk-migrating-GtkFileChooser.html" title="Migrating from GtkFileSelection to GtkFileChooser">
<link rel="chapter" href="gtk-migrating-GtkAction.html" title="Migrating from old menu and toolbar systems to GtkAction">
<link rel="chapter" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and GtkComboBoxEntry">
<link rel="chapter" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
<link rel="chapter" href="gtk-migrating-GtkAboutDialog.html" title="Migrating from GnomeAbout to GtkAboutDialog">
<link rel="chapter" href="gtk-migrating-GtkColorButton.html" title="Migrating from GnomeColorPicker to GtkColorButton">
<link rel="chapter" href="gtk-migrating-GtkAssistant.html" title="Migrating from GnomeDruid to GtkAssistant">
<link rel="chapter" href="gtk-migrating-GtkRecentChooser.html" title="Migrating from EggRecent to GtkRecentChooser">
<link rel="chapter" href="gtk-migrating-GtkLinkButton.html" title="Migrating from GnomeHRef to GtkLinkButton">
<link rel="chapter" href="gtk-migrating-GtkBuilder.html" title="Migrating from libglade to GtkBuilder">
<link rel="chapter" href="gtk-migrating-tooltips.html" title="Migrating from GtkTooltips to GtkTooltip">
<link rel="part" href="pt05.html" title="Part V. GTK+ Tools">
<link rel="glossary" href="glossary.html" title="Glossary">
<link rel="index" href="api-index-full.html" title="Index of all symbols">
<link rel="index" href="api-index-deprecated.html" title="Index of deprecated symbols">
<link rel="index" href="api-index-2-2.html" title="Index of new symbols in 2.2">
<link rel="index" href="api-index-2-4.html" title="Index of new symbols in 2.4">
<link rel="index" href="api-index-2-6.html" title="Index of new symbols in 2.6">
<link rel="index" href="api-index-2-8.html" title="Index of new symbols in 2.8">
<link rel="index" href="api-index-2-10.html" title="Index of new symbols in 2.10">
<link rel="index" href="api-index-2-12.html" title="Index of new symbols in 2.12">
<link rel="index" href="api-index-2-14.html" title="Index of new symbols in 2.14">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="NumericEntry.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="NumericEntry.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ Reference Manual</th>
<td><a accesskey="n" href="GtkEntryCompletion.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GtkEntry.synopsis" class="shortcut">Top</a>
                 | 
                <a href="#GtkEntry.description" class="shortcut">Description</a>
                 | 
                <a href="#GtkEntry.object-hierarchy" class="shortcut">Object Hierarchy</a>
                 | 
                <a href="#GtkEntry.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                 | 
                <a href="#GtkEntry.properties" class="shortcut">Properties</a>
                 | 
                <a href="#GtkEntry.style-properties" class="shortcut">Style Properties</a>
                 | 
                <a href="#GtkEntry.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkEntry"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkEntry.top_of_page"></a>GtkEntry</span></h2>
<p>GtkEntry — A single line text entry field</p>
</td>
<td valign="top" align="right"><img src="entry.png"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GtkEntry.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">

#include &lt;gtk/gtk.h&gt;

                    <a class="link" href="GtkEntry.html#GtkEntry-struct" title="GtkEntry">GtkEntry</a>;
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*          <a class="link" href="GtkEntry.html#gtk-entry-new" title="gtk_entry_new ()">gtk_entry_new</a>                       (void);
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*          <a class="link" href="GtkEntry.html#gtk-entry-new-with-max-length" title="gtk_entry_new_with_max_length ()">gtk_entry_new_with_max_length</a>       (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> max);
void                <a class="link" href="GtkEntry.html#gtk-entry-set-text" title="gtk_entry_set_text ()">gtk_entry_set_text</a>                  (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *text);
void                <a class="link" href="GtkEntry.html#gtk-entry-append-text" title="gtk_entry_append_text ()">gtk_entry_append_text</a>               (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *text);
void                <a class="link" href="GtkEntry.html#gtk-entry-prepend-text" title="gtk_entry_prepend_text ()">gtk_entry_prepend_text</a>              (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *text);
void                <a class="link" href="GtkEntry.html#gtk-entry-set-position" title="gtk_entry_set_position ()">gtk_entry_set_position</a>              (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> position);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*        <a class="link" href="GtkEntry.html#gtk-entry-get-text" title="gtk_entry_get_text ()">gtk_entry_get_text</a>                  (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"
>guint16</a>             <a class="link" href="GtkEntry.html#gtk-entry-get-text-length" title="gtk_entry_get_text_length ()">gtk_entry_get_text_length</a>           (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);
void                <a class="link" href="GtkEntry.html#gtk-entry-select-region" title="gtk_entry_select_region ()">gtk_entry_select_region</a>             (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> start,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> end);
void                <a class="link" href="GtkEntry.html#gtk-entry-set-visibility" title="gtk_entry_set_visibility ()">gtk_entry_set_visibility</a>            (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> visible);
void                <a class="link" href="GtkEntry.html#gtk-entry-set-invisible-char" title="gtk_entry_set_invisible_char ()">gtk_entry_set_invisible_char</a>        (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"
>gunichar</a> ch);
void                <a class="link" href="GtkEntry.html#gtk-entry-set-editable" title="gtk_entry_set_editable ()">gtk_entry_set_editable</a>              (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> editable);
void                <a class="link" href="GtkEntry.html#gtk-entry-set-max-length" title="gtk_entry_set_max_length ()">gtk_entry_set_max_length</a>            (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> max);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            <a class="link" href="GtkEntry.html#gtk-entry-get-activates-default" title="gtk_entry_get_activates_default ()">gtk_entry_get_activates_default</a>     (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            <a class="link" href="GtkEntry.html#gtk-entry-get-has-frame" title="gtk_entry_get_has_frame ()">gtk_entry_get_has_frame</a>             (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);
const <a class="link" href="GtkStyle.html#GtkBorder" title="GtkBorder">GtkBorder</a>*    <a class="link" href="GtkEntry.html#gtk-entry-get-inner-border" title="gtk_entry_get_inner_border ()">gtk_entry_get_inner_border</a>          (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                <a class="link" href="GtkEntry.html#gtk-entry-get-width-chars" title="gtk_entry_get_width_chars ()">gtk_entry_get_width_chars</a>           (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);
void                <a class="link" href="GtkEntry.html#gtk-entry-set-activates-default" title="gtk_entry_set_activates_default ()">gtk_entry_set_activates_default</a>     (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);
void                <a class="link" href="GtkEntry.html#gtk-entry-set-has-frame" title="gtk_entry_set_has_frame ()">gtk_entry_set_has_frame</a>             (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);
void                <a class="link" href="GtkEntry.html#gtk-entry-set-inner-border" title="gtk_entry_set_inner_border ()">gtk_entry_set_inner_border</a>          (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         const <a class="link" href="GtkStyle.html#GtkBorder" title="GtkBorder">GtkBorder</a> *border);
void                <a class="link" href="GtkEntry.html#gtk-entry-set-width-chars" title="gtk_entry_set_width_chars ()">gtk_entry_set_width_chars</a>           (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> n_chars);
<a
href="/usr/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"
>gunichar</a>            <a class="link" href="GtkEntry.html#gtk-entry-get-invisible-char" title="gtk_entry_get_invisible_char ()">gtk_entry_get_invisible_char</a>        (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);
void                <a class="link" href="GtkEntry.html#gtk-entry-set-alignment" title="gtk_entry_set_alignment ()">gtk_entry_set_alignment</a>             (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"
>gfloat</a> xalign);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"
>gfloat</a>              <a class="link" href="GtkEntry.html#gtk-entry-get-alignment" title="gtk_entry_get_alignment ()">gtk_entry_get_alignment</a>             (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);
void                <a class="link" href="GtkEntry.html#gtk-entry-set-overwrite-mode" title="gtk_entry_set_overwrite_mode ()">gtk_entry_set_overwrite_mode</a>        (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> overwrite);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            <a class="link" href="GtkEntry.html#gtk-entry-get-overwrite-mode" title="gtk_entry_get_overwrite_mode ()">gtk_entry_get_overwrite_mode</a>        (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);
<a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"
>PangoLayout</a>*        <a class="link" href="GtkEntry.html#gtk-entry-get-layout" title="gtk_entry_get_layout ()">gtk_entry_get_layout</a>                (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);
void                <a class="link" href="GtkEntry.html#gtk-entry-get-layout-offsets" title="gtk_entry_get_layout_offsets ()">gtk_entry_get_layout_offsets</a>        (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *x,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *y);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                <a class="link" href="GtkEntry.html#gtk-entry-layout-index-to-text-index" title="gtk_entry_layout_index_to_text_index ()">gtk_entry_layout_index_to_text_index</a>
                                                        (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> layout_index);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                <a class="link" href="GtkEntry.html#gtk-entry-text-index-to-layout-index" title="gtk_entry_text_index_to_layout_index ()">gtk_entry_text_index_to_layout_index</a>
                                                        (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> text_index);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                <a class="link" href="GtkEntry.html#gtk-entry-get-max-length" title="gtk_entry_get_max_length ()">gtk_entry_get_max_length</a>            (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            <a class="link" href="GtkEntry.html#gtk-entry-get-visibility" title="gtk_entry_get_visibility ()">gtk_entry_get_visibility</a>            (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);
void                <a class="link" href="GtkEntry.html#gtk-entry-set-completion" title="gtk_entry_set_completion ()">gtk_entry_set_completion</a>            (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion">GtkEntryCompletion</a> *completion);
<a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion">GtkEntryCompletion</a> * <a class="link" href="GtkEntry.html#gtk-entry-get-completion" title="gtk_entry_get_completion ()">gtk_entry_get_completion</a>           (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);
void                <a class="link" href="GtkEntry.html#gtk-entry-set-cursor-hadjustment" title="gtk_entry_set_cursor_hadjustment ()">gtk_entry_set_cursor_hadjustment</a>    (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);
<a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>*      <a class="link" href="GtkEntry.html#gtk-entry-get-cursor-hadjustment" title="gtk_entry_get_cursor_hadjustment ()">gtk_entry_get_cursor_hadjustment</a>    (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkEntry.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
   +----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
                     +----GtkEntry
                           +----<a class="link" href="GtkSpinButton.html" title="GtkSpinButton">GtkSpinButton</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkEntry.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GtkEntry implements
 AtkImplementorIface,  <a class="link" href="gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a>,  <a class="link" href="GtkCellEditable.html" title="GtkCellEditable">GtkCellEditable</a> and  <a class="link" href="GtkEditable.html" title="GtkEditable">GtkEditable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GtkEntry.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GtkEntry.html#GtkEntry--activates-default" title='The "activates-default" property'>activates-default</a>"        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkEntry.html#GtkEntry--cursor-position" title='The "cursor-position" property'>cursor-position</a>"          <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a class="link" href="GtkEntry.html#GtkEntry--editable" title='The "editable" property'>editable</a>"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkEntry.html#GtkEntry--has-frame" title='The "has-frame" property'>has-frame</a>"                <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkEntry.html#GtkEntry--inner-border" title='The "inner-border" property'>inner-border</a>"             <a class="link" href="GtkStyle.html#GtkBorder" title="GtkBorder">GtkBorder</a>*            : Read / Write
  "<a class="link" href="GtkEntry.html#GtkEntry--invisible-char" title='The "invisible-char" property'>invisible-char</a>"           <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
  "<a class="link" href="GtkEntry.html#GtkEntry--max-length" title='The "max-length" property'>max-length</a>"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a class="link" href="GtkEntry.html#GtkEntry--overwrite-mode" title='The "overwrite-mode" property'>overwrite-mode</a>"           <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkEntry.html#GtkEntry--scroll-offset" title='The "scroll-offset" property'>scroll-offset</a>"            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a class="link" href="GtkEntry.html#GtkEntry--selection-bound" title='The "selection-bound" property'>selection-bound</a>"          <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a class="link" href="GtkEntry.html#GtkEntry--shadow-type" title='The "shadow-type" property'>shadow-type</a>"              <a class="link" href="gtk-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType">GtkShadowType</a>         : Read / Write
  "<a class="link" href="GtkEntry.html#GtkEntry--text" title='The "text" property'>text</a>"                     <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a class="link" href="GtkEntry.html#GtkEntry--text-length" title='The "text-length" property'>text-length</a>"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read
  "<a class="link" href="GtkEntry.html#GtkEntry--truncate-multiline" title='The "truncate-multiline" property'>truncate-multiline</a>"       <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkEntry.html#GtkEntry--visibility" title='The "visibility" property'>visibility</a>"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkEntry.html#GtkEntry--width-chars" title='The "width-chars" property'>width-chars</a>"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a class="link" href="GtkEntry.html#GtkEntry--xalign" title='The "xalign" property'>xalign</a>"                   <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"
>gfloat</a>                : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkEntry.style-properties"></a><h2>Style Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GtkEntry.html#GtkEntry--s-inner-border" title='The "inner-border" style property'>inner-border</a>"             <a class="link" href="GtkStyle.html#GtkBorder" title="GtkBorder">GtkBorder</a>*            : Read
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkEntry.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="GtkEntry.html#GtkEntry-activate" title='The "activate" signal'>activate</a>"                                       : Run Last / Action
  "<a class="link" href="GtkEntry.html#GtkEntry-backspace" title='The "backspace" signal'>backspace</a>"                                      : Run Last / Action
  "<a class="link" href="GtkEntry.html#GtkEntry-copy-clipboard" title='The "copy-clipboard" signal'>copy-clipboard</a>"                                 : Run Last / Action
  "<a class="link" href="GtkEntry.html#GtkEntry-cut-clipboard" title='The "cut-clipboard" signal'>cut-clipboard</a>"                                  : Run Last / Action
  "<a class="link" href="GtkEntry.html#GtkEntry-delete-from-cursor" title='The "delete-from-cursor" signal'>delete-from-cursor</a>"                             : Run Last / Action
  "<a class="link" href="GtkEntry.html#GtkEntry-insert-at-cursor" title='The "insert-at-cursor" signal'>insert-at-cursor</a>"                               : Run Last / Action
  "<a class="link" href="GtkEntry.html#GtkEntry-move-cursor" title='The "move-cursor" signal'>move-cursor</a>"                                    : Run Last / Action
  "<a class="link" href="GtkEntry.html#GtkEntry-paste-clipboard" title='The "paste-clipboard" signal'>paste-clipboard</a>"                                : Run Last / Action
  "<a class="link" href="GtkEntry.html#GtkEntry-populate-popup" title='The "populate-popup" signal'>populate-popup</a>"                                 : Run Last
  "<a class="link" href="GtkEntry.html#GtkEntry-toggle-overwrite" title='The "toggle-overwrite" signal'>toggle-overwrite</a>"                               : Run Last / Action
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkEntry.description"></a><h2>Description</h2>
<p>
The <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> widget is a single line text entry
widget. A fairly large set of key bindings are supported
by default. If the entered text is longer than the allocation
of the widget, the widget will scroll so that the cursor
position is visible.
</p>
</div>
<div class="refsect1" lang="en">
<a name="GtkEntry.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="GtkEntry-struct"></a><h3>GtkEntry</h3>
<pre class="programlisting">typedef struct _GtkEntry GtkEntry;</pre>
<p>
The <a class="link" href="GtkEntry.html#GtkEntry-struct" title="GtkEntry"><span class="type">GtkEntry</span></a> struct contains only private data.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-new"></a><h3>gtk_entry_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*          gtk_entry_new                       (void);</pre>
<p>
Creates a new entry.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-new-with-max-length"></a><h3>gtk_entry_new_with_max_length ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*          gtk_entry_new_with_max_length       (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> max);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_entry_new_with_max_length</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates a new <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> widget with the given maximum length.
</p>
<p>
Note: the existence of this function is inconsistent
with the rest of the GTK+ API. The normal setup would
be to just require the user to make an extra call
to <a class="link" href="GtkEntry.html#gtk-entry-set-max-length" title="gtk_entry_set_max_length ()"><code class="function">gtk_entry_set_max_length()</code></a> instead. It is not
expected that this function will be removed, but
it would be better practice not to use it.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>max</code></em> :</span></p></td>
<td> the maximum length of the entry, or 0 for no maximum.
  (other than the maximum length of entries.) The value passed in will
  be clamped to the range 0-65536.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-set-text"></a><h3>gtk_entry_set_text ()</h3>
<pre class="programlisting">void                gtk_entry_set_text                  (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *text);</pre>
<p>
Sets the text in the widget to the given
value, replacing the current contents.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td> the new text
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-append-text"></a><h3>gtk_entry_append_text ()</h3>
<pre class="programlisting">void                gtk_entry_append_text               (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *text);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_entry_append_text</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <a class="link" href="GtkEditable.html#gtk-editable-insert-text" title="gtk_editable_insert_text ()"><code class="function">gtk_editable_insert_text()</code></a> instead.</p>
</div>
<p>
Appends the given text to the contents of the widget.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td> the text to append
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-prepend-text"></a><h3>gtk_entry_prepend_text ()</h3>
<pre class="programlisting">void                gtk_entry_prepend_text              (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *text);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_entry_prepend_text</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <a class="link" href="GtkEditable.html#gtk-editable-insert-text" title="gtk_editable_insert_text ()"><code class="function">gtk_editable_insert_text()</code></a> instead.</p>
</div>
<p>
Prepends the given text to the contents of the widget.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td> the text to prepend
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-set-position"></a><h3>gtk_entry_set_position ()</h3>
<pre class="programlisting">void                gtk_entry_set_position              (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> position);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_entry_set_position</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <a class="link" href="GtkEditable.html#gtk-editable-set-position" title="gtk_editable_set_position ()"><code class="function">gtk_editable_set_position()</code></a> instead.</p>
</div>
<p>
Sets the cursor position in an entry to the given value.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
<td>  the position of the cursor. The cursor is displayed
   before the character with the given (base 0) index in the widget. 
   The value must be less than or equal to the number of characters 
   in the widget. A value of -1 indicates that the position should
   be set after the last character in the entry. Note that this 
   position is in characters, not in bytes.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-get-text"></a><h3>gtk_entry_get_text ()</h3>
<pre class="programlisting">const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*        gtk_entry_get_text                  (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);</pre>
<p>
Retrieves the contents of the entry widget.
See also <a class="link" href="GtkEditable.html#gtk-editable-get-chars" title="gtk_editable_get_chars ()"><code class="function">gtk_editable_get_chars()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a pointer to the contents of the widget as a
     string. This string points to internally allocated
     storage in the widget and must not be freed, modified or
     stored.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-get-text-length"></a><h3>gtk_entry_get_text_length ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"
>guint16</a>             gtk_entry_get_text_length           (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);</pre>
<p>
Retrieves the current length of the text in
<em class="parameter"><code>entry</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the current number of characters
              in <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>, or 0 if there are none.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-select-region"></a><h3>gtk_entry_select_region ()</h3>
<pre class="programlisting">void                gtk_entry_select_region             (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> start,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> end);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_entry_select_region</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <a class="link" href="GtkEditable.html#gtk-editable-select-region" title="gtk_editable_select_region ()"><code class="function">gtk_editable_select_region()</code></a> instead.</p>
</div>
<p>
Selects a region of text. The characters that are selected are 
those characters at positions from <em class="parameter"><code>start_pos</code></em> up to, but not 
including <em class="parameter"><code>end_pos</code></em>. If <em class="parameter"><code>end_pos</code></em> is negative, then the the characters 
selected will be those characters from <em class="parameter"><code>start_pos</code></em> to the end of 
the text.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
<td> the starting position
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
<td> the end position
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-set-visibility"></a><h3>gtk_entry_set_visibility ()</h3>
<pre class="programlisting">void                gtk_entry_set_visibility            (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> visible);</pre>
<p>
Sets whether the contents of the entry are visible or not. 
When visibility is set to <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a>, characters are displayed 
as the invisible char, and will also appear that way when 
the text in the entry widget is copied elsewhere.
</p>
<p>
The default invisible char is the asterisk '*', but it can
be changed with <a class="link" href="GtkEntry.html#gtk-entry-set-invisible-char" title="gtk_entry_set_invisible_char ()"><code class="function">gtk_entry_set_invisible_char()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>visible</code></em> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the contents of the entry are displayed
          as plaintext
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-set-invisible-char"></a><h3>gtk_entry_set_invisible_char ()</h3>
<pre class="programlisting">void                gtk_entry_set_invisible_char        (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"
>gunichar</a> ch);</pre>
<p>
Sets the character to use in place of the actual text when
<a class="link" href="GtkEntry.html#gtk-entry-set-visibility" title="gtk_entry_set_visibility ()"><code class="function">gtk_entry_set_visibility()</code></a> has been called to set text visibility
to <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a>. i.e. this is the character used in "password mode" to
show the user how many characters have been typed. The default
invisible char is an asterisk ('*').  If you set the invisible char
to 0, then the user will get no feedback at all; there will be
no text on the screen as they type.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ch</code></em> :</span></p></td>
<td> a Unicode character
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-set-editable"></a><h3>gtk_entry_set_editable ()</h3>
<pre class="programlisting">void                gtk_entry_set_editable              (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> editable);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_entry_set_editable</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <a class="link" href="GtkEditable.html#gtk-editable-set-editable" title="gtk_editable_set_editable ()"><code class="function">gtk_editable_set_editable()</code></a> instead.</p>
</div>
<p>
Determines if the user can edit the text in the editable
widget or not.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>editable</code></em> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the user is allowed to edit the text
  in the widget
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-set-max-length"></a><h3>gtk_entry_set_max_length ()</h3>
<pre class="programlisting">void                gtk_entry_set_max_length            (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> max);</pre>
<p>
Sets the maximum allowed length of the contents of the widget. If
the current contents are longer than the given length, then they
will be truncated to fit.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max</code></em> :</span></p></td>
<td> the maximum length of the entry, or 0 for no maximum.
  (other than the maximum length of entries.) The value passed in will
  be clamped to the range 0-65536.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-get-activates-default"></a><h3>gtk_entry_get_activates_default ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            gtk_entry_get_activates_default     (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);</pre>
<p>
Retrieves the value set by <a class="link" href="GtkEntry.html#gtk-entry-set-activates-default" title="gtk_entry_set_activates_default ()"><code class="function">gtk_entry_set_activates_default()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the entry will activate the default widget
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-get-has-frame"></a><h3>gtk_entry_get_has_frame ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            gtk_entry_get_has_frame             (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);</pre>
<p>
Gets the value set by <a class="link" href="GtkEntry.html#gtk-entry-set-has-frame" title="gtk_entry_set_has_frame ()"><code class="function">gtk_entry_set_has_frame()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> whether the entry has a beveled frame
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-get-inner-border"></a><h3>gtk_entry_get_inner_border ()</h3>
<pre class="programlisting">const <a class="link" href="GtkStyle.html#GtkBorder" title="GtkBorder">GtkBorder</a>*    gtk_entry_get_inner_border          (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);</pre>
<p>
This function returns the entry's <a class="link" href="GtkEntry.html#GtkEntry--inner-border" title='The "inner-border" property'><span class="type">"inner-border"</span></a> property. See
<a class="link" href="GtkEntry.html#gtk-entry-set-inner-border" title="gtk_entry_set_inner_border ()"><code class="function">gtk_entry_set_inner_border()</code></a> for more information.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the entry's <a class="link" href="GtkStyle.html#GtkBorder" title="GtkBorder"><span class="type">GtkBorder</span></a>, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if none was set.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-get-width-chars"></a><h3>gtk_entry_get_width_chars ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                gtk_entry_get_width_chars           (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);</pre>
<p>
Gets the value set by <a class="link" href="GtkEntry.html#gtk-entry-set-width-chars" title="gtk_entry_set_width_chars ()"><code class="function">gtk_entry_set_width_chars()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> number of chars to request space for, or negative if unset
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-set-activates-default"></a><h3>gtk_entry_set_activates_default ()</h3>
<pre class="programlisting">void                gtk_entry_set_activates_default     (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);</pre>
<p>
If <em class="parameter"><code>setting</code></em> is <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a>, pressing Enter in the <em class="parameter"><code>entry</code></em> will activate the default
widget for the window containing the entry. This usually means that
the dialog box containing the entry will be closed, since the default
widget is usually one of the dialog buttons.
</p>
<p>
(For experts: if <em class="parameter"><code>setting</code></em> is <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a>, the entry calls
<a class="link" href="GtkWindow.html#gtk-window-activate-default" title="gtk_window_activate_default ()"><code class="function">gtk_window_activate_default()</code></a> on the window containing the entry, in
the default handler for the <span class="type">"activate"</span> signal.)</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> to activate window's default widget on Enter keypress
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-set-has-frame"></a><h3>gtk_entry_set_has_frame ()</h3>
<pre class="programlisting">void                gtk_entry_set_has_frame             (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);</pre>
<p>
Sets whether the entry has a beveled frame around it.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
<td> new value
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-set-inner-border"></a><h3>gtk_entry_set_inner_border ()</h3>
<pre class="programlisting">void                gtk_entry_set_inner_border          (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         const <a class="link" href="GtkStyle.html#GtkBorder" title="GtkBorder">GtkBorder</a> *border);</pre>
<p>
Sets <code class="literal">entry</code>'s inner-border property to <code class="literal">border</code>, or clears it if <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>
is passed. The inner-border is the area around the entry's text, but
inside its frame.
</p>
<p>
If set, this property overrides the inner-border style property.
Overriding the style-provided border is useful when you want to do
in-place editing of some text in a canvas or list widget, where
pixel-exact positioning of the entry is important.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>border</code></em> :</span></p></td>
<td> a <a class="link" href="GtkStyle.html#GtkBorder" title="GtkBorder"><span class="type">GtkBorder</span></a>, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-set-width-chars"></a><h3>gtk_entry_set_width_chars ()</h3>
<pre class="programlisting">void                gtk_entry_set_width_chars           (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> n_chars);</pre>
<p>
Changes the size request of the entry to be about the right size
for <em class="parameter"><code>n_chars</code></em> characters. Note that it changes the size
<span class="emphasis"><em>request</em></span>, the size can still be affected by
how you pack the widget into containers. If <em class="parameter"><code>n_chars</code></em> is -1, the
size reverts to the default entry size.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>n_chars</code></em> :</span></p></td>
<td> width in chars
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-get-invisible-char"></a><h3>gtk_entry_get_invisible_char ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"
>gunichar</a>            gtk_entry_get_invisible_char        (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);</pre>
<p>
Retrieves the character displayed in place of the real characters
for entries with visibility set to false. See <a class="link" href="GtkEntry.html#gtk-entry-set-invisible-char" title="gtk_entry_set_invisible_char ()"><code class="function">gtk_entry_set_invisible_char()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the current invisible char, or 0, if the entry does not
              show invisible text at all. 
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-set-alignment"></a><h3>gtk_entry_set_alignment ()</h3>
<pre class="programlisting">void                gtk_entry_set_alignment             (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"
>gfloat</a> xalign);</pre>
<p>
Sets the alignment for the contents of the entry. This controls
the horizontal positioning of the contents when the displayed
text is shorter than the width of the entry.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>xalign</code></em> :</span></p></td>
<td> The horizontal alignment, from 0 (left) to 1 (right).
         Reversed for RTL layouts
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-get-alignment"></a><h3>gtk_entry_get_alignment ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"
>gfloat</a>              gtk_entry_get_alignment             (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);</pre>
<p>
Gets the value set by <a class="link" href="GtkEntry.html#gtk-entry-set-alignment" title="gtk_entry_set_alignment ()"><code class="function">gtk_entry_set_alignment()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the alignment

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-set-overwrite-mode"></a><h3>gtk_entry_set_overwrite_mode ()</h3>
<pre class="programlisting">void                gtk_entry_set_overwrite_mode        (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> overwrite);</pre>
<p>
Sets whether the text is overwritten when typing in the <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>overwrite</code></em> :</span></p></td>
<td> new value
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-get-overwrite-mode"></a><h3>gtk_entry_get_overwrite_mode ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            gtk_entry_get_overwrite_mode        (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);</pre>
<p>
Gets the value set by <a class="link" href="GtkEntry.html#gtk-entry-set-overwrite-mode" title="gtk_entry_set_overwrite_mode ()"><code class="function">gtk_entry_set_overwrite_mode()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> whether the text is overwritten when typing.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-get-layout"></a><h3>gtk_entry_get_layout ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"
>PangoLayout</a>*        gtk_entry_get_layout                (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);</pre>
<p>
Gets the <a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"
><span class="type">PangoLayout</span></a> used to display the entry.
The layout is useful to e.g. convert text positions to
pixel positions, in combination with <a class="link" href="GtkEntry.html#gtk-entry-get-layout-offsets" title="gtk_entry_get_layout_offsets ()"><code class="function">gtk_entry_get_layout_offsets()</code></a>.
The returned layout is owned by the entry and must not be 
modified or freed by the caller.
</p>
<p>
Keep in mind that the layout text may contain a preedit string, so
<a class="link" href="GtkEntry.html#gtk-entry-layout-index-to-text-index" title="gtk_entry_layout_index_to_text_index ()"><code class="function">gtk_entry_layout_index_to_text_index()</code></a> and
<a class="link" href="GtkEntry.html#gtk-entry-text-index-to-layout-index" title="gtk_entry_text_index_to_layout_index ()"><code class="function">gtk_entry_text_index_to_layout_index()</code></a> are needed to convert byte
indices in the layout to byte indices in the entry contents.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the <a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"
><span class="type">PangoLayout</span></a> for this entry
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-get-layout-offsets"></a><h3>gtk_entry_get_layout_offsets ()</h3>
<pre class="programlisting">void                gtk_entry_get_layout_offsets        (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *x,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *y);</pre>
<p>
Obtains the position of the <a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"
><span class="type">PangoLayout</span></a> used to render text
in the entry, in widget coordinates. Useful if you want to line
up the text in an entry with some other text, e.g. when using the
entry to implement editable cells in a sheet widget.
</p>
<p>
Also useful to convert mouse events into coordinates inside the
<a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"
><span class="type">PangoLayout</span></a>, e.g. to take some action if some part of the entry text
is clicked.
</p>
<p>
Note that as the user scrolls around in the entry the offsets will
change; you'll need to connect to the "notify::scroll-offset"
signal to track this. Remember when using the <a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"
><span class="type">PangoLayout</span></a>
functions you need to convert to and from pixels using
<code class="function">PANGO_PIXELS()</code> or <span class="type">PANGO_SCALE</span>.
</p>
<p>
Keep in mind that the layout text may contain a preedit string, so
<a class="link" href="GtkEntry.html#gtk-entry-layout-index-to-text-index" title="gtk_entry_layout_index_to_text_index ()"><code class="function">gtk_entry_layout_index_to_text_index()</code></a> and
<a class="link" href="GtkEntry.html#gtk-entry-text-index-to-layout-index" title="gtk_entry_text_index_to_layout_index ()"><code class="function">gtk_entry_text_index_to_layout_index()</code></a> are needed to convert byte
indices in the layout to byte indices in the entry contents.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
<td> location to store X offset of layout, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
<td> location to store Y offset of layout, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-layout-index-to-text-index"></a><h3>gtk_entry_layout_index_to_text_index ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                gtk_entry_layout_index_to_text_index
                                                        (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> layout_index);</pre>
<p>
Converts from a position in the entry contents (returned
by <a class="link" href="GtkEntry.html#gtk-entry-get-text" title="gtk_entry_get_text ()"><code class="function">gtk_entry_get_text()</code></a>) to a position in the
entry's <a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"
><span class="type">PangoLayout</span></a> (returned by <a class="link" href="GtkEntry.html#gtk-entry-get-layout" title="gtk_entry_get_layout ()"><code class="function">gtk_entry_get_layout()</code></a>,
with text retrieved via <a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-get-text"
><code class="function">pango_layout_get_text()</code></a>).</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>layout_index</code></em> :</span></p></td>
<td> byte index into the entry layout text
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> byte index into the entry contents
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-text-index-to-layout-index"></a><h3>gtk_entry_text_index_to_layout_index ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                gtk_entry_text_index_to_layout_index
                                                        (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> text_index);</pre>
<p>
Converts from a position in the entry's <a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"
><span class="type">PangoLayout</span></a> (returned by
<a class="link" href="GtkEntry.html#gtk-entry-get-layout" title="gtk_entry_get_layout ()"><code class="function">gtk_entry_get_layout()</code></a>) to a position in the entry contents
(returned by <a class="link" href="GtkEntry.html#gtk-entry-get-text" title="gtk_entry_get_text ()"><code class="function">gtk_entry_get_text()</code></a>).</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>text_index</code></em> :</span></p></td>
<td> byte index into the entry contents
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> byte index into the entry layout text
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-get-max-length"></a><h3>gtk_entry_get_max_length ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                gtk_entry_get_max_length            (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);</pre>
<p>
Retrieves the maximum allowed length of the text in
<em class="parameter"><code>entry</code></em>. See <a class="link" href="GtkEntry.html#gtk-entry-set-max-length" title="gtk_entry_set_max_length ()"><code class="function">gtk_entry_set_max_length()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the maximum allowed number of characters
              in <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>, or 0 if there is no maximum.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-get-visibility"></a><h3>gtk_entry_get_visibility ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            gtk_entry_get_visibility            (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);</pre>
<p>
Retrieves whether the text in <em class="parameter"><code>entry</code></em> is visible. See
<a class="link" href="GtkEntry.html#gtk-entry-set-visibility" title="gtk_entry_set_visibility ()"><code class="function">gtk_entry_set_visibility()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the text is currently visible
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-set-completion"></a><h3>gtk_entry_set_completion ()</h3>
<pre class="programlisting">void                gtk_entry_set_completion            (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion">GtkEntryCompletion</a> *completion);</pre>
<p>
Sets <em class="parameter"><code>completion</code></em> to be the auxiliary completion object to use with <em class="parameter"><code>entry</code></em>.
All further configuration of the completion mechanism is done on
<em class="parameter"><code>completion</code></em> using the <a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> API. Completion is disabled if
<em class="parameter"><code>completion</code></em> is set to <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> A <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>completion</code></em> :</span></p></td>
<td> The <a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a> or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-get-completion"></a><h3>gtk_entry_get_completion ()</h3>
<pre class="programlisting"><a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion">GtkEntryCompletion</a> * gtk_entry_get_completion           (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);</pre>
<p>
Returns the auxiliary completion object currently in use by <em class="parameter"><code>entry</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> A <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The auxiliary completion object currently in use by <em class="parameter"><code>entry</code></em>.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-set-cursor-hadjustment"></a><h3>gtk_entry_set_cursor_hadjustment ()</h3>
<pre class="programlisting">void                gtk_entry_set_cursor_hadjustment    (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                         <a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);</pre>
<p>
Hooks up an adjustment to the cursor position in an entry, so that when 
the cursor is moved, the adjustment is scrolled to show that position. 
See <a class="link" href="GtkScrolledWindow.html#gtk-scrolled-window-get-hadjustment" title="gtk_scrolled_window_get_hadjustment ()"><code class="function">gtk_scrolled_window_get_hadjustment()</code></a> for a typical way of obtaining 
the adjustment.
</p>
<p>
The adjustment has to be in pixel units and in the same coordinate system 
as the entry.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>adjustment</code></em> :</span></p></td>
<td> an adjustment which should be adjusted when the cursor 
             is moved, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-entry-get-cursor-hadjustment"></a><h3>gtk_entry_get_cursor_hadjustment ()</h3>
<pre class="programlisting"><a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>*      gtk_entry_get_cursor_hadjustment    (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry);</pre>
<p>
Retrieves the horizontal cursor adjustment for the entry. 
See <a class="link" href="GtkEntry.html#gtk-entry-set-cursor-hadjustment" title="gtk_entry_set_cursor_hadjustment ()"><code class="function">gtk_entry_set_cursor_hadjustment()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td> a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the horizontal cursor adjustment, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> 
  if none has been set.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="GtkEntry.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GtkEntry--activates-default"></a><h3>The <code class="literal">"activates-default"</code> property</h3>
<pre class="programlisting">  "activates-default"        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry--cursor-position"></a><h3>The <code class="literal">"cursor-position"</code> property</h3>
<pre class="programlisting">  "cursor-position"          <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>The current position of the insertion cursor in chars.</p>
<p>Allowed values: [0,65535]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry--editable"></a><h3>The <code class="literal">"editable"</code> property</h3>
<pre class="programlisting">  "editable"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether the entry contents can be edited.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry--has-frame"></a><h3>The <code class="literal">"has-frame"</code> property</h3>
<pre class="programlisting">  "has-frame"                <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>FALSE removes outside bevel from entry.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry--inner-border"></a><h3>The <code class="literal">"inner-border"</code> property</h3>
<pre class="programlisting">  "inner-border"             <a class="link" href="GtkStyle.html#GtkBorder" title="GtkBorder">GtkBorder</a>*            : Read / Write</pre>
<p>
Sets the text area's border between the text and the frame.</p>
<p>
</p>
<p>Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry--invisible-char"></a><h3>The <code class="literal">"invisible-char"</code> property</h3>
<pre class="programlisting">  "invisible-char"           <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>The character to use when masking entry contents (in "password mode").</p>
<p>Default value: '*'</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry--max-length"></a><h3>The <code class="literal">"max-length"</code> property</h3>
<pre class="programlisting">  "max-length"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>Maximum number of characters for this entry. Zero if no maximum.</p>
<p>Allowed values: [0,65535]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry--overwrite-mode"></a><h3>The <code class="literal">"overwrite-mode"</code> property</h3>
<pre class="programlisting">  "overwrite-mode"           <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>
If text is overwritten when typing in the <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>.</p>
<p>
</p>
<p>Default value: FALSE</p>
<p>Since 2.14</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry--scroll-offset"></a><h3>The <code class="literal">"scroll-offset"</code> property</h3>
<pre class="programlisting">  "scroll-offset"            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>Number of pixels of the entry scrolled off the screen to the left.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry--selection-bound"></a><h3>The <code class="literal">"selection-bound"</code> property</h3>
<pre class="programlisting">  "selection-bound"          <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>The position of the opposite end of the selection from the cursor in chars.</p>
<p>Allowed values: [0,65535]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry--shadow-type"></a><h3>The <code class="literal">"shadow-type"</code> property</h3>
<pre class="programlisting">  "shadow-type"              <a class="link" href="gtk-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType">GtkShadowType</a>         : Read / Write</pre>
<p>
Which kind of shadow to draw around the entry when
<a class="link" href="GtkEntry.html#GtkEntry--has-frame" title='The "has-frame" property'><span class="type">"has-frame"</span></a> is set to <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a>.</p>
<p>
</p>
<p>Default value: GTK_SHADOW_IN</p>
<p>Since 2.12</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry--text"></a><h3>The <code class="literal">"text"</code> property</h3>
<pre class="programlisting">  "text"                     <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>The contents of the entry.</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry--text-length"></a><h3>The <code class="literal">"text-length"</code> property</h3>
<pre class="programlisting">  "text-length"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read</pre>
<p>
The length of the text in the <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>.</p>
<p>
</p>
<p>Allowed values: &lt;= 65535</p>
<p>Default value: 0</p>
<p>Since 2.14</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry--truncate-multiline"></a><h3>The <code class="literal">"truncate-multiline"</code> property</h3>
<pre class="programlisting">  "truncate-multiline"       <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>
When <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a>, pasted multi-line text is truncated to the first line.</p>
<p>
</p>
<p>Default value: FALSE</p>
<p>Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry--visibility"></a><h3>The <code class="literal">"visibility"</code> property</h3>
<pre class="programlisting">  "visibility"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>FALSE displays the "invisible char" instead of the actual text (password mode).</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry--width-chars"></a><h3>The <code class="literal">"width-chars"</code> property</h3>
<pre class="programlisting">  "width-chars"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>Number of characters to leave space for in the entry.</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry--xalign"></a><h3>The <code class="literal">"xalign"</code> property</h3>
<pre class="programlisting">  "xalign"                   <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"
>gfloat</a>                : Read / Write</pre>
<p>
The horizontal alignment, from 0 (left) to 1 (right). 
Reversed for RTL layouts.</p>
<p>
</p>
<p>Allowed values: [0,1]</p>
<p>Default value: 0</p>
<p>Since 2.4</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="GtkEntry.style-property-details"></a><h2>Style Property Details</h2>
<div class="refsect2" lang="en">
<a name="GtkEntry--s-inner-border"></a><h3>The <code class="literal">"inner-border"</code> style property</h3>
<pre class="programlisting">  "inner-border"             <a class="link" href="GtkStyle.html#GtkBorder" title="GtkBorder">GtkBorder</a>*            : Read</pre>
<p>
Sets the text area's border between the text and the frame.</p>
<p>
</p>
<p>Since 2.10</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="GtkEntry.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="GtkEntry-activate"></a><h3>The <code class="literal">"activate"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>  user_data)      : Run Last / Action</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry-backspace"></a><h3>The <code class="literal">"backspace"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>  user_data)      : Run Last / Action</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry-copy-clipboard"></a><h3>The <code class="literal">"copy-clipboard"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>  user_data)      : Run Last / Action</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry-cut-clipboard"></a><h3>The <code class="literal">"cut-clipboard"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>  user_data)      : Run Last / Action</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry-delete-from-cursor"></a><h3>The <code class="literal">"delete-from-cursor"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a>     *entry,
                                                        <a class="link" href="gtk-Standard-Enumerations.html#GtkDeleteType" title="enum GtkDeleteType">GtkDeleteType</a> arg1,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>          arg2,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>      user_data)      : Run Last / Action</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg2</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry-insert-at-cursor"></a><h3>The <code class="literal">"insert-at-cursor"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>    *arg1,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>  user_data)      : Run Last / Action</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry-move-cursor"></a><h3>The <code class="literal">"move-cursor"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a>       *entry,
                                                        <a class="link" href="gtk-Standard-Enumerations.html#GtkMovementStep" title="enum GtkMovementStep">GtkMovementStep</a> arg1,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>            arg2,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>        arg3,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>        user_data)      : Run Last / Action</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg2</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg3</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry-paste-clipboard"></a><h3>The <code class="literal">"paste-clipboard"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>  user_data)      : Run Last / Action</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry-populate-popup"></a><h3>The <code class="literal">"populate-popup"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                        <a class="link" href="GtkMenu.html" title="GtkMenu">GtkMenu</a>  *arg1,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>  user_data)      : Run Last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkEntry-toggle-overwrite"></a><h3>The <code class="literal">"toggle-overwrite"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkEntry.html" title="GtkEntry">GtkEntry</a> *entry,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>  user_data)      : Run Last / Action</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="GtkEntry.see-also"></a><h2>See Also</h2>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a></span></p></td>
<td><p>a widget for handling multi-line text entry.</p></td>
</tr></tbody>
</table></div>
<p>
</p>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.11</div>
</body>
</html>
